<% provide(:title, @tag.name) %>

<div id="content_title"><%= t('activerecord.models.tag', count: 1).capitalize %>: <span id="tag_name"><%= @tag.name %></span></div>
<hr noshade size="1">

<% unless @tag.synonyms.blank? %>
	<div id="synonyms"><%= t('tag.show.synonyms') %>: <%= @tag.synonyms %></div><br/>
<% end %>

<p>
	<%= will_paginate @documents %>

	<ul class="documents">
		<% if @documents.each do |document| %>
			<%= render document %>
		<% end.empty? %>
			<%= t('content.list.no_elements', elements: t('activerecord.models.document', count: 2)) %>
		<% end %>
	</ul>

	<%= will_paginate @documents %>
</p>
